package com.ihrm.system.mapper;

import com.ihrm.domain.system.PermissionApi;
import com.ihrm.domain.system.PermissionApiExample;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @author chentao
 */
@Mapper
@Repository
public interface PermissionApiMapper {
    int countByExample(PermissionApiExample example);

    int deleteByExample(PermissionApiExample example);

    int deleteByPrimaryKey(String id);

    int insert(PermissionApi record);

    int insertSelective(PermissionApi record);

    List<PermissionApi> selectByExample(PermissionApiExample example);

    PermissionApi selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") PermissionApi record, @Param("example") PermissionApiExample example);

    int updateByExample(@Param("record") PermissionApi record, @Param("example") PermissionApiExample example);

    int updateByPrimaryKeySelective(PermissionApi record);

    int updateByPrimaryKey(PermissionApi record);
}